package jnpf.fico.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import jnpf.fico.entity.ZcBillOperateEntity;
import jnpf.fico.model.operate.ZcBillOperateMainVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 账单变更历史记录
 *
 * @author
 */
@Mapper
public interface ZcBillOperateMapper extends BaseMapper<ZcBillOperateEntity> {

    IPage<ZcBillOperateMainVo> getBillOperateList(Page<?> page, @Param("ew") Wrapper<ZcBillOperateMainVo> wrapper);

    ZcBillOperateMainVo getBillOperateMainDetail(@Param("id") String id);

    List<ZcBillOperateMainVo> getBillOperateSumAmount(@Param("ids") List<String> ids);

}
